"""使用reduce实现int
from  functools import reduce
dict={}
for i in range(10):
    dict[str(i)]=i
num=list(input("请输入需要转换的数"))
print(reduce(lambda a,b:((dict[a]*10+dict[b])
    if dict.get(a) else ( a*10+dict[b])),num))

"""
"""import math
print(sorted(["bob","about","Zoo","Credit"],key=str.lower)
      a={"s":1,"b":0,"c":2,"x":-1}
print(dict(sorted(a.items()),key=lambda b: b.[1])   , a.items())
"""
"""

import re
list1=["abcd123","1334","_213","a1233445"]
print(list(map((lambda a:f"{a}合乎规范" if (re.search(r"\b[^0-9][0-Z_]{5,17}",a)) else f"{a}不合乎规范"),list1)))
print(list1)
"""
"""
list2=[7,-8,5,4,0,-2,-2]
"""
"""
#将列表转换成字符串
from  functools import reduce
print(reduce(lambda a,b:str(a)+str(b),[1,4,5,9]))
"""
"""
from  functools import reduce
n=int(input("请输入数字n"))
print(reduce(lambda a,b:a*b,range(1,n)))
"""
"""
import re
print(list(map((lambda a:a**2),range(1,11))))
"""
"""
import re
print(list(filter((lambda a:a%3==0),range(1,101))))
"""
"""
import re

print(sorted([7, -8, 5, 4, 0, -2, -5], key=lambda x: x*-10 +10 if x <= 0 else x))
"""
"""
import re
import string
print(sorted("asdf234GDSdsf237H", key=lambda x: (( ord(x)-100 if (x.isupper()) else ord(x)-1000) )if (x.isalpha()) else (ord(x)*100 if int(x)%2==0 else ord(x))))
"""
import requests
url="https://www.sanchuang.cn/"
request=requests.get("url")
print(request.test)

